package tech.aistar.mapper;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import tech.aistar.entity.Com;
import tech.aistar.entity.Post;

/**
 * Created by Administrator on 2019/10/9.
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class ComMapperTest {
    @Autowired
    private ComMapper comMapper;
    @Test
    public void test(){
        comMapper.findOneComment(1).forEach(System.err::println);
    }

    @Test
    public void test1(){
        comMapper.findAllTwoComment(18,2).forEach(System.err::println);
    }
    @Test
    public void test23(){
        Com c = new Com();

    }

}
